

from rest_framework.viewsets import ModelViewSet
from meiduo_admin.serializers.spec_serializers import *
from meiduo_admin.paginators import MyPage

class SpecViewSet(ModelViewSet):

    queryset = SPUSpecification.objects.all()
    serializer_class = SpecModelSerialzier
    pagination_class = MyPage